package cn.trip.service.comment;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import cn.trip.dao.comment.CommentMapper;
import cn.trip.pojo.Trip_comment;

@Service
public class CommentServiceImpl implements CommentService {

	@Resource
	private CommentMapper commentMapper;
	
	@Override
	public int addPic(Trip_comment comment) {
		
		return commentMapper.addPic(comment);
	}

	@Override
	public Trip_comment getComment(int com_id) {
		return commentMapper.getComment(com_id);
	}

}
